body{
    background-color: #000000;
    overflow-x: hidden;
    width: 100%;
    height: 100vh;
}
.haikei:before{
  content: "";
  display: block;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: -1;
  width: 100%;
  height: 100vh;
  background-image: url(../Pictures/Background/Background-1.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.vertical{
    overflow: auto;
}
header{
    margin-right: 2.5vw;
    width: 10%;
    min-height: 85vh;
}
.header a{
    text-decoration: none;
    display:inline-block;
    transition: .3s;
    -webkit-transform: scale(1);
    transform: scale(1);
}
header a:hover{
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
.top-logo{
    width: 100%;
    height: auto;
}
.subtitle{
    text-align: center;
    height: 13rem;
    line-height: 13rem;
}
h1{
    font-size: 5vw;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 0.7vw;
}

.bibi{
    height: 75vh;
}
.back{
    margin-top: 5.0vh;
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(1rem,2.2vw,3rem);
    letter-spacing: 0.5vw;
    text-align: center;
}
.back a{
    color: #fff;
    text-decoration-thickness: 1px;
    display:inline-block;
    transition: .3s;
    -webkit-transform: scale(1);
    transform: scale(1);
    margin-top: 4vh;
    text-shadow: 5px 5px 7px #000000;
}
.back a:hover{
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
.sp2 {
  display: none;
}
small{
  color: #fff;
  position: fixed;
  left: 0;
  bottom: 0;
  text-shadow: 5px 5px 7px #000000;
  font-size: 1.5vw;
}

* {
    box-sizing: border-box;
}
body {
  font-family:'Avenir','Helvetica, Neue','Helvetica','Arial';
} 

.modalArea {
  display: none;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.modalBg {
  width: 100%;
  height: 100%;
  background-color: rgba(30,30,30,0.9);
}
.modalWrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform:translate(-50%,-50%);
  width: 80%;
  max-width: 10000px;
  padding: 10px 30px;
  background-color: #fff;
}
.closeModal {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  cursor: pointer;
}
button {
  padding: 10px;
  background-color: #fff;
  border: 1px solid #282828;
  border-radius: 2px;
  cursor: pointer;
  line-height: 1rem;
}
#openModal {
  padding-left: 1rem;
  letter-spacing: 5px;
}


/*PC用*/
@media screen and (min-width:1024px)  {
    .vertical{
        display: flex;
        align-items: center;
        -webkit-flex-direction: row-reverse;
        flex-direction: row-reverse;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
        width: 100%;
        min-height: 100vh;
    }
    .subtitle{
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        margin-right: 4.5vw;
        height: 70vh;
        text-align: left;
    }
    .bibi{
        margin-left: 6vw;
        margin-right: auto;
        margin-top: auto;
        margin-bottom: auto;
        width: 75%;
        height: 90vh;
    }
    .back{
        font-size: 1.0rem;
        margin-bottom: 1.5rem;
        margin-left: 5vw;
        min-height: 80vh;
        text-align: right;
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
    }
    .back a{
      color: #fff;
      text-decoration: none;
      display:inline-block;
      transition: .3s;
      -webkit-transform: scale(1);
      transform: scale(1);
      margin-top: 4vh;
      text-shadow: 5px 5px 7px #000000;
    }
    .sp1 {
      display: none;
    }
    small{
      position: absolute;
      font-size: 0.8rem;
    }
    
    .modalWrapper {
      width: 60%;
    }
    
    button {
      line-height: 130%;
    }
    #openModal {
      padding-top: 1.3rem;
      padding-left: 0.5rem;
      position: relative;
      bottom: 25vh;
    }

    /*
    ::-webkit-full-page-media, :future, :root .sp2 {
      display: inline;
    }
    */
    ::-webkit-full-page-media, :future, :root #openModal {
      padding-top: 11px;
      padding-left: 12px;
      padding-right: 8px;
      line-height: 2rem;
    }
}

